package com.yn.pet.controller.pc.response.page;

import com.yn.pet.controller.pc.response.CollectionQueryResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class CollectionPageResponse {

    @ApiModelProperty("分页数据")
    List<CollectionQueryResponse> records;

    //全部个数
    @ApiModelProperty(value = "全部设备总个数")
    private long deviceTotalCount;

    //在线个数
    @ApiModelProperty(value = "在线个数")
    private Integer onlineCount;

    //静止个数
    @ApiModelProperty(value = "静止个数")
    private Integer staticCount;

    //离线个数
    @ApiModelProperty(value = "离线个数")
    private Integer offlineCount;




    @ApiModelProperty(value = "总记录数")
    private long total;

    @ApiModelProperty(value = "每页显示记录数")
    private long size;

    @ApiModelProperty(value = "当前页")
    private long current;

    @ApiModelProperty(value = "是否查询列表")
    private Boolean optimizeCountSql;

    @ApiModelProperty(value = "总页数")
    private long pages;
}
